package com.black.utils.file.compress.jar.entity;

import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ylx
 */
@Getter
public class AnnotationInfo extends JavaInfo {
    private final Map<String, AnnotationFieldInfo> annotationFieldInfoMap = new HashMap<>();

    public AnnotationInfo(String name) {
        super(name);
    }

    public void addAnnotationField(String name, AnnotationFieldInfo annotationFieldInfo) {
        annotationFieldInfoMap.put(name, annotationFieldInfo);
    }
}
